define(function  (require, exports, module) {
    function imgGroup() {
        var img = '';
        for(var i =0;i<7;i++){
            if(i<1){
                img += "<div class='pictures-one'>" +
                    "<input class='file-path' style='padding: 0' accept='image/png,image/gif' type='file'>" +
                    "<img class='back-pic' src=''>" +
                    "<img class='add-img' src='../img/register/plus.png' alt='环境图'>" +
                    "</div>"
            } else {
                img += "<div class='pictures-one'>" +
                    "<input disabled class='file-path' style='padding: 0' accept='image/png,image/gif' type='file'>" +
                    "<img class='back-pic' src=''>" +
                    "<img class='add-img hide' src='../img/register/plus.png' alt='环境图'>" +
                    "</div>"
            }
        }
        $.template( "imgTemplate", img );
        $.tmpl("imgTemplate", img).appendTo("#list");
        // require("../control/alertControl");//控制弹框
    }
    module.exports = imgGroup();
});